package com.ear.orange;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement
/**
 * 开启Spring Catcher注解方式的缓存功能
 */
@EnableCaching
public class OrangeApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrangeApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  Orange 启动！   ლ(´ڡ`ლ)ﾞ  o(*￣▽￣*)o");
        log.info("手机端：" + "http://localhost:312/front/page/login.html");
        log.info("电脑端：" + "http://localhost:312/backend/page/login/login.html");
        log.info("swagger：" + "http://localhost:312/doc.html#/home");
    }

}
